package com.service.student.imp;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dao.student.SorderDaoH;
import com.po.SorderH;
import com.service.student.SorderServiceH;

@Service
public class SorderServiceImpH implements SorderServiceH{
	
	@Resource(name="sorderDaoHImpH")
	private SorderDaoH sorderDao;
	
//	public String str;
	
	@Override
	public List<SorderH> findOrderInfo(String student_id) {
		// TODO Auto-generated method stub
		List<SorderH> sorder = sorderDao.findOrderInfo(student_id);
		return sorder;
	}

	@Override
	public int delOrder(String order_id) {
		// TODO Auto-generated method stub
		return sorderDao.delOrder(order_id);
	}

	@Override
	public int addOrder(SorderH order) {
		// TODO Auto-generated method stub
				
		return sorderDao.addOrder(order);
	}

	@Override
	public List<SorderH> getOrderList() {
		// TODO Auto-generated method stub
		return sorderDao.getOrderList();
	}
}
